namespace NAct
{
	using System;
	using System.Collections.Generic;
	using System.Reflection;

	public class ScenarioStep: IScenarioStep
	{
		private readonly List<IMethodParameter> parameters = new List<IMethodParameter>();
		public Exception Exception { get; internal set; }

		public IList<IMethodParameter> Parameters
		{
			get { return parameters; }
		}

		public MethodInfo Method { get; set; }

		public string Text { get; set; }

		public Result Result { get; internal set; }

		public string Pattern { get; set; }
	}
}